package com.atguigu.springcloud;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * EnableEurekaClient Eureka客户端注解
 * 用来将服务注册进服务中心
 *
 * @author Tu
 * @date 2022/10/30 18:17
 */
@SpringBootApplication
@EnableEurekaClient
@MapperScan("com.atguigu.springcloud.dao")
@EnableDiscoveryClient
public class ProviderEureka8001 {

    public static void main(String[] args) {
        SpringApplication.run(ProviderEureka8001.class, args);
    }

}
